{% extends "layouts/base-fullscreen.html" %}

{% block title %} Reset Pass {% endblock %} 

<!-- Specific CSS goes HERE -->
{% block stylesheets %}{% endblock stylesheets %}

{% block content %}

<div class="auth-wrapper">
    <div class="auth-content">
        <div class="auth-bg">
            <span class="r"></span>
            <span class="r s"></span>
            <span class="r s"></span>
            <span class="r"></span>
        </div>
        <div class="card">
            <div class="card-body text-center">
                <div class="mb-4">
                    <i class="feather icon-lock auth-icon"></i>
                </div>
                <h3 class="mb-4">Reset Password</h3>
                
                <span class="mb-0 text-muted">
                    {% if msg %}
                        {{ msg | safe }}
                    {% else %}
                        Reset your password
                    {% endif %} 
                </span>
                
                <br />
                <br />
                
                <form role="form" method="post" action="">

                    {% csrf_token %}  
                    <div class="input-group mb-4">
                        {{ form.password }}
                    </div>
                    <span class="text-error">{{ form.password.errors }}</span>

                    <div class="input-group mb-4">
                        {{ form.password1 }}
                    </div>
                    <span class="text-error">{{ form.password1.errors }}</span>

                    <div class="input-group mb-4">
                        {{ form.password2 }}
                    </div>
                    <span class="text-error">{{ form.password2.errors }}</span>

                    <button class="btn btn-primary mb-4 shadow-2">Reset Password</button>
                </form>
                
                <p class="mb-0 text-muted">Don’t need to reset password ? <a href="/" >Turn back</a></p>
            </div>
        </div>
    </div>
</div>

{% endblock content %}

<!-- Specific Page JS goes HERE  -->
{% block javascripts %}{% endblock javascripts %}
